package com.mentaleye.dal.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.mentaleye.dal.model.StudentDisciplineRecord;
import com.mentaleye.dal.model.StudentDisciplineRecordExample;

public interface StudentDisciplineRecordDao {
    boolean insertRecord(StudentDisciplineRecord record);
    
    boolean insertByList(List<StudentDisciplineRecord> recordList);
    
    boolean updateRecord(StudentDisciplineRecord record);
    
    List<StudentDisciplineRecord> getListByExample(StudentDisciplineRecordExample example);

    List<Map<String,Object>> getListByMap(Map<String,Object> map);
    
    List<Map<String,Object>> getClassDisciplineByMap(Map<String,Object> map);
    
    List<StudentDisciplineRecord> getListByMapOrderByStudentId(Map<String,Object> map);
    
    boolean deleteByExample(StudentDisciplineRecordExample example);
    
    boolean deleteByWriteTime(Date writeTime);
    
    boolean deleteBySelective(Map<String,Object> map);
}
